<template>
    <div class="Myheader">

        <van-nav-bar
            title="购买成功"
            left-text=""
        >
            <template #left>

                <van-icon
                    name="arrow-left"
                    size="24"
                    @click="changeBack"
                />
            </template>
            <template #right>
                <span class="gl">管理</span>
            </template>
        </van-nav-bar>
    </div>
</template>

<script>
export default {
  methods:{
    changeBack(){
      this.$router.go(-1);
    }
  }
};
</script>

<style lang="scss" scoped>
@import "@css/style.scss";
.van-nav-bar {
  width: 100%;
  height: px2rem(48);
  // background: #ededed;

  .van-icon {
    color: #000000;
  }
  .van-nav-bar__title {
    font-weight: bold;
    font-size: px2rem(24);
  }
  .gl {
    font-size: px2rem(16);
  }
}
</style>
